setContactDetails

public final static Unit setContactDetails(ContactType contactType, String contactDetails)

Add contact details for a particular type for use in the CONTACT notification method

Parameters

contactType

A particular contact type

contactDetails

An email address or mobile number to use. Format should be name@domain.com, 555-123-1234, 5551231234, etc.